package com.chenyue.cm.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * APP用户	
 * </p>
 *
 * @author Lbx
 * @since 2022-01-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="JdAppUser对象", description="APP用户	")
public class JdAppUser extends Model<JdAppUser> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "用户编号")
    private String userNum;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "盐值")
    private String salt;

    @ApiModelProperty(value = "头像")
    private String headImg;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "人生格言")
    private String signature;

    @ApiModelProperty(value = "上次登录时间")
    private Date lastLoginTime;

    @ApiModelProperty(value = "qq对应id")
    private String qqUnionId;

    @ApiModelProperty(value = "微信unionId")
    private String wxUnionId;

    @ApiModelProperty(value = "苹果id")
    private String appleId;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "擅长项目")
    private String speciality;

    @ApiModelProperty(value = "是否展示成绩0不是1是")
    private Integer isShowGrade;

    @ApiModelProperty(value = "所属第三方机构")
    private Integer parentId;

    @ApiModelProperty(value = "版本号")
    private String appVersion;

    @ApiModelProperty(value = "系统型号1安卓2ios")
    private Integer deviceModel;

    @ApiModelProperty(value = "注册时间")
    private Date registerTime;

    @ApiModelProperty(value = "手机型号")
    private String mobileModel;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
